import Vue from 'vue';
import 'normalize.css';
import './global.scss';
import './plugins/axios';
import './plugins/element.js';
// import VueWait from 'vue-wait';
import router from './router';
import store from './store';
import App from './App.vue';

import './store/libs';

// Vue.use(VueWait);
Vue.config.productionTip = false;

window.VERSION = process.env.VUE_APP_VERSION;

new Vue({
  router,
  store,
  // wait: new VueWait({
  //   // Defaults values are following:
  //   useVuex: false,              // Uses Vuex to manage wait state
  //   vuexModuleName: 'wait',      // Vuex module name
  //
  //   registerComponent: true,     // Registers `v-wait` component
  //   componentName: 'v-wait',     // <v-wait> component name, you can set `my-loader` etc.
  //
  //   registerDirective: true,     // Registers `v-wait` directive
  //   directiveName: 'wait',       // <span v-wait /> directive name, you can set `my-loader` etc.
  // }),
  render: h => h(App)
}).$mount('#app');
